package com.sdsy.exception;

import com.sdsy.constant.ResultErrorInfo;

/**
 * 业务异常
 *
 * @author dengzhongyuan
 * @Description: ${todo}
 * @date 2018/3/28 15:01
 */
public class WalletException extends RuntimeException {

    /**
     *
     */
    private static final long serialVersionUID = 1L;

    private Integer code;

    private String msg;

    public WalletException(Integer code, String msg) {
        super(msg);
        this.code = code;
        this.msg = msg;
    }



    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }


}
